package designpattern.singleton;

public class JdbcConnection implements Connection {

    public JdbcConnection() {
        //所有初始化工作完成后
        DBFactory.add("jdbc",this);
    }

    @Override
    public void update() {
        System.out.println("---jdbc---update ");
    }
}
